﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Class Lock
   </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Class Lock
   ">
    <meta name="generator" content="docfx 2.16.2.2">
    
    <link rel="shortcut icon" href="../favicon.ico">
    <link rel="stylesheet" href="../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../styles/docfx.css">
    <link rel="stylesheet" href="../styles/main.css">
    <meta property="docfx:navrel" content="../toc.html">
    <meta property="docfx:tocrel" content="toc.html">
    
    
  </head>
  <body data-spy="scroll" data-target="#affix">
    <div id="wrapper">
      <header>
        
        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              
              <a class="navbar-brand" href="../index.html">
                <img id="logo" class="svg" src="../logo.svg" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>
        
        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content">
              
              
              <h1 id="FubarDev_WebDavServer_Locking_Lock" data-uid="FubarDev.WebDavServer.Locking.Lock">Class Lock
              </h1>
              <div class="markdown level0 summary"><p>A generic implementation of the <a class="xref" href="FubarDev.WebDavServer.Locking.ILock.html">ILock</a> interface.</p>
</div>
              <div class="markdown level0 conceptual"></div>
              <div class="inheritance">
                <h5>Inheritance</h5>
                  <div class="level0"><a class="xref" href="https://msdn.microsoft.com/en-us/library/system.object(v=vs.110).aspx">Object</a></div>
                  <div class="level1"><span class="xref">Lock</span></div>
              </div>
              <div class="inheritedMembers">
                <h5>Inherited Members</h5>
                <div>
                  <a class="xref" href="https://msdn.microsoft.com/en-us/library/bsc2ak47(v=vs.110).aspx">Object.Equals(Object)</a>
                </div>
                <div>
                  <a class="xref" href="https://msdn.microsoft.com/en-us/library/w4hkze5k(v=vs.110).aspx">Object.Equals(Object, Object)</a>
                </div>
                <div>
                  <a class="xref" href="https://msdn.microsoft.com/en-us/library/zdee4b3y(v=vs.110).aspx">Object.GetHashCode()</a>
                </div>
                <div>
                  <a class="xref" href="https://msdn.microsoft.com/en-us/library/dfwy45w9(v=vs.110).aspx">Object.GetType()</a>
                </div>
                <div>
                  <a class="xref" href="https://msdn.microsoft.com/en-us/library/57ctke0a(v=vs.110).aspx">Object.MemberwiseClone()</a>
                </div>
                <div>
                  <a class="xref" href="https://msdn.microsoft.com/en-us/library/hz2a0b8x(v=vs.110).aspx">Object.ReferenceEquals(Object, Object)</a>
                </div>
              </div>
              <h6><strong>Namespace</strong>:FubarDev.WebDavServer.Locking</h6>
              <h6><strong>Assembly</strong>:FubarDev.WebDavServer.dll</h6>
              <h5 id="FubarDev_WebDavServer_Locking_Lock_syntax">Syntax</h5>
              <div class="codewrapper">
                <pre><code class="lang-csharp hljs">public class Lock : ILock</code></pre>
              </div>
              <h3 id="constructors">Constructors
              </h3>
              <span class="small pull-right mobile-hide">
                <span class="divider">|</span>
                <a href="https://github.com/FubarDevelopment/WebDavServer/new/master/apiSpec/new?filename=FubarDev_WebDavServer_Locking_Lock__ctor_System_String_System_String_System_Boolean_System_Xml_Linq_XElement_FubarDev_WebDavServer_Locking_LockAccessType_FubarDev_WebDavServer_Locking_LockShareMode_System_TimeSpan_.md&amp;value=---%0Auid%3A%20FubarDev.WebDavServer.Locking.Lock.%23ctor(System.String%2CSystem.String%2CSystem.Boolean%2CSystem.Xml.Linq.XElement%2CFubarDev.WebDavServer.Locking.LockAccessType%2CFubarDev.WebDavServer.Locking.LockShareMode%2CSystem.TimeSpan)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
              </span>
              <span class="small pull-right mobile-hide">
                <a href="https://github.com/FubarDevelopment/WebDavServer/blob/master/src/FubarDev.WebDavServer/Locking/Lock.cs/#L56">View Source</a>
              </span>
              <a id="FubarDev_WebDavServer_Locking_Lock__ctor_" data-uid="FubarDev.WebDavServer.Locking.Lock.#ctor*"></a>
              <h4 id="FubarDev_WebDavServer_Locking_Lock__ctor_System_String_System_String_System_Boolean_System_Xml_Linq_XElement_FubarDev_WebDavServer_Locking_LockAccessType_FubarDev_WebDavServer_Locking_LockShareMode_System_TimeSpan_" data-uid="FubarDev.WebDavServer.Locking.Lock.#ctor(System.String,System.String,System.Boolean,System.Xml.Linq.XElement,FubarDev.WebDavServer.Locking.LockAccessType,FubarDev.WebDavServer.Locking.LockShareMode,System.TimeSpan)">Lock(String, String, Boolean, XElement, LockAccessType, LockShareMode, TimeSpan)</h4>
              <div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FubarDev.WebDavServer.Locking.Lock.html">Lock</a> class.</p>
</div>
              <div class="markdown level1 conceptual"></div>
              <h5 class="decalaration">Declaration</h5>
              <div class="codewrapper">
                <pre><code class="lang-csharp hljs">public Lock([NotNull] string path, [NotNull] string href, bool recursive, [CanBeNull] XElement owner, LockAccessType accessType, LockShareMode shareMode, TimeSpan timeout)</code></pre>
              </div>
              <h5 class="parameters">Parameters</h5>
              <table class="table table-bordered table-striped table-condensed">
                <thead>
                  <tr>
                    <th>Type</th>
                    <th>Name</th>
                    <th>Description</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td><a class="xref" href="https://msdn.microsoft.com/en-us/library/system.string(v=vs.110).aspx">String</a></td>
                    <td><span class="parametername">path</span></td>
                    <td><p>The file system path (root-relative) this lock should be applied to</p>
</td>
                  </tr>
                  <tr>
                    <td><a class="xref" href="https://msdn.microsoft.com/en-us/library/system.string(v=vs.110).aspx">String</a></td>
                    <td><span class="parametername">href</span></td>
                    <td><p>The href this lock should be applied to (might be relative or absolute)</p>
</td>
                  </tr>
                  <tr>
                    <td><a class="xref" href="https://msdn.microsoft.com/en-us/library/system.boolean(v=vs.110).aspx">Boolean</a></td>
                    <td><span class="parametername">recursive</span></td>
                    <td><p>Must the lock be applied recursively to all children?</p>
</td>
                  </tr>
                  <tr>
                    <td><a class="xref" href="https://msdn.microsoft.com/en-us/library/system.xml.linq.xelement(v=vs.110).aspx">XElement</a></td>
                    <td><span class="parametername">owner</span></td>
                    <td><p>The owner of the lock</p>
</td>
                  </tr>
                  <tr>
                    <td><a class="xref" href="FubarDev.WebDavServer.Locking.LockAccessType.html">LockAccessType</a></td>
                    <td><span class="parametername">accessType</span></td>
                    <td><p>The <a class="xref" href="FubarDev.WebDavServer.Locking.LockAccessType.html">LockAccessType</a> of the lock</p>
</td>
                  </tr>
                  <tr>
                    <td><a class="xref" href="FubarDev.WebDavServer.Locking.LockShareMode.html">LockShareMode</a></td>
                    <td><span class="parametername">shareMode</span></td>
                    <td><p>The <a class="xref" href="FubarDev.WebDavServer.Locking.LockShareMode.html">LockShareMode</a> of the lock</p>
</td>
                  </tr>
                  <tr>
                    <td><a class="xref" href="https://msdn.microsoft.com/en-us/library/system.timespan(v=vs.110).aspx">TimeSpan</a></td>
                    <td><span class="parametername">timeout</span></td>
                    <td><p>The lock timeout</p>
</td>
                  </tr>
                </tbody>
              </table>
              <span class="small pull-right mobile-hide">
                <span class="divider">|</span>
                <a href="https://github.com/FubarDevelopment/WebDavServer/new/master/apiSpec/new?filename=FubarDev_WebDavServer_Locking_Lock__ctor_System_String_System_String_System_Boolean_System_Xml_Linq_XElement_System_String_System_String_System_TimeSpan_.md&amp;value=---%0Auid%3A%20FubarDev.WebDavServer.Locking.Lock.%23ctor(System.String%2CSystem.String%2CSystem.Boolean%2CSystem.Xml.Linq.XElement%2CSystem.String%2CSystem.String%2CSystem.TimeSpan)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
              </span>
              <span class="small pull-right mobile-hide">
                <a href="https://github.com/FubarDevelopment/WebDavServer/blob/master/src/FubarDev.WebDavServer/Locking/Lock.cs/#L85">View Source</a>
              </span>
              <a id="FubarDev_WebDavServer_Locking_Lock__ctor_" data-uid="FubarDev.WebDavServer.Locking.Lock.#ctor*"></a>
              <h4 id="FubarDev_WebDavServer_Locking_Lock__ctor_System_String_System_String_System_Boolean_System_Xml_Linq_XElement_System_String_System_String_System_TimeSpan_" data-uid="FubarDev.WebDavServer.Locking.Lock.#ctor(System.String,System.String,System.Boolean,System.Xml.Linq.XElement,System.String,System.String,System.TimeSpan)">Lock(String, String, Boolean, XElement, String, String, TimeSpan)</h4>
              <div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FubarDev.WebDavServer.Locking.Lock.html">Lock</a> class.</p>
</div>
              <div class="markdown level1 conceptual"></div>
              <h5 class="decalaration">Declaration</h5>
              <div class="codewrapper">
                <pre><code class="lang-csharp hljs">protected Lock([NotNull] string path, [NotNull] string href, bool recursive, [CanBeNull] XElement owner, [NotNull] string accessType, [NotNull] string shareMode, TimeSpan timeout)</code></pre>
              </div>
              <h5 class="parameters">Parameters</h5>
              <table class="table table-bordered table-striped table-condensed">
                <thead>
                  <tr>
                    <th>Type</th>
                    <th>Name</th>
                    <th>Description</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td><a class="xref" href="https://msdn.microsoft.com/en-us/library/system.string(v=vs.110).aspx">String</a></td>
                    <td><span class="parametername">path</span></td>
                    <td><p>The file system path (root-relative) this lock should be applied to</p>
</td>
                  </tr>
                  <tr>
                    <td><a class="xref" href="https://msdn.microsoft.com/en-us/library/system.string(v=vs.110).aspx">String</a></td>
                    <td><span class="parametername">href</span></td>
                    <td><p>The href this lock should be applied to (might be relative or absolute)</p>
</td>
                  </tr>
                  <tr>
                    <td><a class="xref" href="https://msdn.microsoft.com/en-us/library/system.boolean(v=vs.110).aspx">Boolean</a></td>
                    <td><span class="parametername">recursive</span></td>
                    <td><p>Must the lock be applied recursively to all children?</p>
</td>
                  </tr>
                  <tr>
                    <td><a class="xref" href="https://msdn.microsoft.com/en-us/library/system.xml.linq.xelement(v=vs.110).aspx">XElement</a></td>
                    <td><span class="parametername">owner</span></td>
                    <td><p>The owner of the lock</p>
</td>
                  </tr>
                  <tr>
                    <td><a class="xref" href="https://msdn.microsoft.com/en-us/library/system.string(v=vs.110).aspx">String</a></td>
                    <td><span class="parametername">accessType</span></td>
                    <td><p>The <a class="xref" href="FubarDev.WebDavServer.Locking.LockAccessType.html">LockAccessType</a> of the lock</p>
</td>
                  </tr>
                  <tr>
                    <td><a class="xref" href="https://msdn.microsoft.com/en-us/library/system.string(v=vs.110).aspx">String</a></td>
                    <td><span class="parametername">shareMode</span></td>
                    <td><p>The <a class="xref" href="FubarDev.WebDavServer.Locking.LockShareMode.html">LockShareMode</a> of the lock</p>
</td>
                  </tr>
                  <tr>
                    <td><a class="xref" href="https://msdn.microsoft.com/en-us/library/system.timespan(v=vs.110).aspx">TimeSpan</a></td>
                    <td><span class="parametername">timeout</span></td>
                    <td><p>The lock timeout</p>
</td>
                  </tr>
                </tbody>
              </table>
              <span class="small pull-right mobile-hide">
                <span class="divider">|</span>
                <a href="https://github.com/FubarDevelopment/WebDavServer/new/master/apiSpec/new?filename=FubarDev_WebDavServer_Locking_Lock__ctor_System_Uri_System_Uri_System_Boolean_System_Xml_Linq_XElement_FubarDev_WebDavServer_Locking_LockAccessType_FubarDev_WebDavServer_Locking_LockShareMode_System_TimeSpan_.md&amp;value=---%0Auid%3A%20FubarDev.WebDavServer.Locking.Lock.%23ctor(System.Uri%2CSystem.Uri%2CSystem.Boolean%2CSystem.Xml.Linq.XElement%2CFubarDev.WebDavServer.Locking.LockAccessType%2CFubarDev.WebDavServer.Locking.LockShareMode%2CSystem.TimeSpan)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
              </span>
              <span class="small pull-right mobile-hide">
                <a href="https://github.com/FubarDevelopment/WebDavServer/blob/master/src/FubarDev.WebDavServer/Locking/Lock.cs/#L27">View Source</a>
              </span>
              <a id="FubarDev_WebDavServer_Locking_Lock__ctor_" data-uid="FubarDev.WebDavServer.Locking.Lock.#ctor*"></a>
              <h4 id="FubarDev_WebDavServer_Locking_Lock__ctor_System_Uri_System_Uri_System_Boolean_System_Xml_Linq_XElement_FubarDev_WebDavServer_Locking_LockAccessType_FubarDev_WebDavServer_Locking_LockShareMode_System_TimeSpan_" data-uid="FubarDev.WebDavServer.Locking.Lock.#ctor(System.Uri,System.Uri,System.Boolean,System.Xml.Linq.XElement,FubarDev.WebDavServer.Locking.LockAccessType,FubarDev.WebDavServer.Locking.LockShareMode,System.TimeSpan)">Lock(Uri, Uri, Boolean, XElement, LockAccessType, LockShareMode, TimeSpan)</h4>
              <div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FubarDev.WebDavServer.Locking.Lock.html">Lock</a> class.</p>
</div>
              <div class="markdown level1 conceptual"></div>
              <h5 class="decalaration">Declaration</h5>
              <div class="codewrapper">
                <pre><code class="lang-csharp hljs">public Lock([NotNull] Uri path, [NotNull] Uri href, bool recursive, [CanBeNull] XElement owner, LockAccessType accessType, LockShareMode shareMode, TimeSpan timeout)</code></pre>
              </div>
              <h5 class="parameters">Parameters</h5>
              <table class="table table-bordered table-striped table-condensed">
                <thead>
                  <tr>
                    <th>Type</th>
                    <th>Name</th>
                    <th>Description</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td><a class="xref" href="https://msdn.microsoft.com/en-us/library/system.uri(v=vs.110).aspx">Uri</a></td>
                    <td><span class="parametername">path</span></td>
                    <td><p>The file system path (root-relative) this lock should be applied to</p>
</td>
                  </tr>
                  <tr>
                    <td><a class="xref" href="https://msdn.microsoft.com/en-us/library/system.uri(v=vs.110).aspx">Uri</a></td>
                    <td><span class="parametername">href</span></td>
                    <td><p>The href this lock should be applied to (might be relative or absolute)</p>
</td>
                  </tr>
                  <tr>
                    <td><a class="xref" href="https://msdn.microsoft.com/en-us/library/system.boolean(v=vs.110).aspx">Boolean</a></td>
                    <td><span class="parametername">recursive</span></td>
                    <td><p>Must the lock be applied recursively to all children?</p>
</td>
                  </tr>
                  <tr>
                    <td><a class="xref" href="https://msdn.microsoft.com/en-us/library/system.xml.linq.xelement(v=vs.110).aspx">XElement</a></td>
                    <td><span class="parametername">owner</span></td>
                    <td><p>The owner of the lock</p>
</td>
                  </tr>
                  <tr>
                    <td><a class="xref" href="FubarDev.WebDavServer.Locking.LockAccessType.html">LockAccessType</a></td>
                    <td><span class="parametername">accessType</span></td>
                    <td><p>The <a class="xref" href="FubarDev.WebDavServer.Locking.LockAccessType.html">LockAccessType</a> of the lock</p>
</td>
                  </tr>
                  <tr>
                    <td><a class="xref" href="FubarDev.WebDavServer.Locking.LockShareMode.html">LockShareMode</a></td>
                    <td><span class="parametername">shareMode</span></td>
                    <td><p>The <a class="xref" href="FubarDev.WebDavServer.Locking.LockShareMode.html">LockShareMode</a> of the lock</p>
</td>
                  </tr>
                  <tr>
                    <td><a class="xref" href="https://msdn.microsoft.com/en-us/library/system.timespan(v=vs.110).aspx">TimeSpan</a></td>
                    <td><span class="parametername">timeout</span></td>
                    <td><p>The lock timeout</p>
</td>
                  </tr>
                </tbody>
              </table>
              <h3 id="properties">Properties
              </h3>
              <span class="small pull-right mobile-hide">
                <span class="divider">|</span>
                <a href="https://github.com/FubarDevelopment/WebDavServer/new/master/apiSpec/new?filename=FubarDev_WebDavServer_Locking_Lock_AccessType.md&amp;value=---%0Auid%3A%20FubarDev.WebDavServer.Locking.Lock.AccessType%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
              </span>
              <span class="small pull-right mobile-hide">
                <a href="https://github.com/FubarDevelopment/WebDavServer/blob/master/src/FubarDev.WebDavServer/Locking/Lock.cs/#L118">View Source</a>
              </span>
              <a id="FubarDev_WebDavServer_Locking_Lock_AccessType_" data-uid="FubarDev.WebDavServer.Locking.Lock.AccessType*"></a>
              <h4 id="FubarDev_WebDavServer_Locking_Lock_AccessType" data-uid="FubarDev.WebDavServer.Locking.Lock.AccessType">AccessType</h4>
              <div class="markdown level1 summary"><p>Gets the access type of the lock</p>
</div>
              <div class="markdown level1 conceptual"></div>
              <h5 class="decalaration">Declaration</h5>
              <div class="codewrapper">
                <pre><code class="lang-csharp hljs">public string AccessType { get; }</code></pre>
              </div>
              <h5 class="propertyValue">Property Value</h5>
              <table class="table table-bordered table-striped table-condensed">
                <thead>
                  <tr>
                    <th>Type</th>
                    <th>Description</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td><a class="xref" href="https://msdn.microsoft.com/en-us/library/system.string(v=vs.110).aspx">String</a></td>
                    <td></td>
                  </tr>
                </tbody>
              </table>
              <h5 class="implements">Implements</h5>
                  <div><a class="xref" href="FubarDev.WebDavServer.Locking.ILock.html#FubarDev_WebDavServer_Locking_ILock_AccessType">ILock.AccessType</a></div>
              <h5 id="FubarDev_WebDavServer_Locking_Lock_AccessType_seealso">See Also</h5>
              <div class="seealso">
                  <div><a class="xref" href="FubarDev.WebDavServer.Locking.LockAccessType.html">LockAccessType</a></div>
              </div>
              <span class="small pull-right mobile-hide">
                <span class="divider">|</span>
                <a href="https://github.com/FubarDevelopment/WebDavServer/new/master/apiSpec/new?filename=FubarDev_WebDavServer_Locking_Lock_Href.md&amp;value=---%0Auid%3A%20FubarDev.WebDavServer.Locking.Lock.Href%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
              </span>
              <span class="small pull-right mobile-hide">
                <a href="https://github.com/FubarDevelopment/WebDavServer/blob/master/src/FubarDev.WebDavServer/Locking/Lock.cs/#L107">View Source</a>
              </span>
              <a id="FubarDev_WebDavServer_Locking_Lock_Href_" data-uid="FubarDev.WebDavServer.Locking.Lock.Href*"></a>
              <h4 id="FubarDev_WebDavServer_Locking_Lock_Href" data-uid="FubarDev.WebDavServer.Locking.Lock.Href">Href</h4>
              <div class="markdown level1 summary"><p>Gets the href the lock is for</p>
</div>
              <div class="markdown level1 conceptual"></div>
              <h5 class="decalaration">Declaration</h5>
              <div class="codewrapper">
                <pre><code class="lang-csharp hljs">public string Href { get; }</code></pre>
              </div>
              <h5 class="propertyValue">Property Value</h5>
              <table class="table table-bordered table-striped table-condensed">
                <thead>
                  <tr>
                    <th>Type</th>
                    <th>Description</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td><a class="xref" href="https://msdn.microsoft.com/en-us/library/system.string(v=vs.110).aspx">String</a></td>
                    <td></td>
                  </tr>
                </tbody>
              </table>
              <h5 class="implements">Implements</h5>
                  <div><a class="xref" href="FubarDev.WebDavServer.Locking.ILock.html#FubarDev_WebDavServer_Locking_ILock_Href">ILock.Href</a></div>
              <span class="small pull-right mobile-hide">
                <span class="divider">|</span>
                <a href="https://github.com/FubarDevelopment/WebDavServer/new/master/apiSpec/new?filename=FubarDev_WebDavServer_Locking_Lock_Owner.md&amp;value=---%0Auid%3A%20FubarDev.WebDavServer.Locking.Lock.Owner%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
              </span>
              <span class="small pull-right mobile-hide">
                <a href="https://github.com/FubarDevelopment/WebDavServer/blob/master/src/FubarDev.WebDavServer/Locking/Lock.cs/#L115">View Source</a>
              </span>
              <a id="FubarDev_WebDavServer_Locking_Lock_Owner_" data-uid="FubarDev.WebDavServer.Locking.Lock.Owner*"></a>
              <h4 id="FubarDev_WebDavServer_Locking_Lock_Owner" data-uid="FubarDev.WebDavServer.Locking.Lock.Owner">Owner</h4>
              <div class="markdown level1 summary"><p>Gets the XML specifying the owner of the lock.</p>
</div>
              <div class="markdown level1 conceptual"></div>
              <h5 class="decalaration">Declaration</h5>
              <div class="codewrapper">
                <pre><code class="lang-csharp hljs">public XElement Owner { get; }</code></pre>
              </div>
              <h5 class="propertyValue">Property Value</h5>
              <table class="table table-bordered table-striped table-condensed">
                <thead>
                  <tr>
                    <th>Type</th>
                    <th>Description</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td><a class="xref" href="https://msdn.microsoft.com/en-us/library/system.xml.linq.xelement(v=vs.110).aspx">XElement</a></td>
                    <td></td>
                  </tr>
                </tbody>
              </table>
              <span class="small pull-right mobile-hide">
                <span class="divider">|</span>
                <a href="https://github.com/FubarDevelopment/WebDavServer/new/master/apiSpec/new?filename=FubarDev_WebDavServer_Locking_Lock_Path.md&amp;value=---%0Auid%3A%20FubarDev.WebDavServer.Locking.Lock.Path%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
              </span>
              <span class="small pull-right mobile-hide">
                <a href="https://github.com/FubarDevelopment/WebDavServer/blob/master/src/FubarDev.WebDavServer/Locking/Lock.cs/#L104">View Source</a>
              </span>
              <a id="FubarDev_WebDavServer_Locking_Lock_Path_" data-uid="FubarDev.WebDavServer.Locking.Lock.Path*"></a>
              <h4 id="FubarDev_WebDavServer_Locking_Lock_Path" data-uid="FubarDev.WebDavServer.Locking.Lock.Path">Path</h4>
              <div class="markdown level1 summary"><p>Gets the path the lock is for</p>
</div>
              <div class="markdown level1 conceptual"></div>
              <h5 class="decalaration">Declaration</h5>
              <div class="codewrapper">
                <pre><code class="lang-csharp hljs">public string Path { get; }</code></pre>
              </div>
              <h5 class="propertyValue">Property Value</h5>
              <table class="table table-bordered table-striped table-condensed">
                <thead>
                  <tr>
                    <th>Type</th>
                    <th>Description</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td><a class="xref" href="https://msdn.microsoft.com/en-us/library/system.string(v=vs.110).aspx">String</a></td>
                    <td></td>
                  </tr>
                </tbody>
              </table>
              <h5 class="implements">Implements</h5>
                  <div><a class="xref" href="FubarDev.WebDavServer.Locking.ILock.html#FubarDev_WebDavServer_Locking_ILock_Path">ILock.Path</a></div>
              <span class="small pull-right mobile-hide">
                <span class="divider">|</span>
                <a href="https://github.com/FubarDevelopment/WebDavServer/new/master/apiSpec/new?filename=FubarDev_WebDavServer_Locking_Lock_Recursive.md&amp;value=---%0Auid%3A%20FubarDev.WebDavServer.Locking.Lock.Recursive%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
              </span>
              <span class="small pull-right mobile-hide">
                <a href="https://github.com/FubarDevelopment/WebDavServer/blob/master/src/FubarDev.WebDavServer/Locking/Lock.cs/#L110">View Source</a>
              </span>
              <a id="FubarDev_WebDavServer_Locking_Lock_Recursive_" data-uid="FubarDev.WebDavServer.Locking.Lock.Recursive*"></a>
              <h4 id="FubarDev_WebDavServer_Locking_Lock_Recursive" data-uid="FubarDev.WebDavServer.Locking.Lock.Recursive">Recursive</h4>
              <div class="markdown level1 summary"><p>Gets a value indicating whether the lock must be applied recusively</p>
</div>
              <div class="markdown level1 conceptual"></div>
              <h5 class="decalaration">Declaration</h5>
              <div class="codewrapper">
                <pre><code class="lang-csharp hljs">public bool Recursive { get; }</code></pre>
              </div>
              <h5 class="propertyValue">Property Value</h5>
              <table class="table table-bordered table-striped table-condensed">
                <thead>
                  <tr>
                    <th>Type</th>
                    <th>Description</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td><a class="xref" href="https://msdn.microsoft.com/en-us/library/system.boolean(v=vs.110).aspx">Boolean</a></td>
                    <td></td>
                  </tr>
                </tbody>
              </table>
              <h5 class="implements">Implements</h5>
                  <div><a class="xref" href="FubarDev.WebDavServer.Locking.ILock.html#FubarDev_WebDavServer_Locking_ILock_Recursive">ILock.Recursive</a></div>
              <span class="small pull-right mobile-hide">
                <span class="divider">|</span>
                <a href="https://github.com/FubarDevelopment/WebDavServer/new/master/apiSpec/new?filename=FubarDev_WebDavServer_Locking_Lock_ShareMode.md&amp;value=---%0Auid%3A%20FubarDev.WebDavServer.Locking.Lock.ShareMode%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
              </span>
              <span class="small pull-right mobile-hide">
                <a href="https://github.com/FubarDevelopment/WebDavServer/blob/master/src/FubarDev.WebDavServer/Locking/Lock.cs/#L121">View Source</a>
              </span>
              <a id="FubarDev_WebDavServer_Locking_Lock_ShareMode_" data-uid="FubarDev.WebDavServer.Locking.Lock.ShareMode*"></a>
              <h4 id="FubarDev_WebDavServer_Locking_Lock_ShareMode" data-uid="FubarDev.WebDavServer.Locking.Lock.ShareMode">ShareMode</h4>
              <div class="markdown level1 summary"><p>Gets the share mode of the lock</p>
</div>
              <div class="markdown level1 conceptual"></div>
              <h5 class="decalaration">Declaration</h5>
              <div class="codewrapper">
                <pre><code class="lang-csharp hljs">public string ShareMode { get; }</code></pre>
              </div>
              <h5 class="propertyValue">Property Value</h5>
              <table class="table table-bordered table-striped table-condensed">
                <thead>
                  <tr>
                    <th>Type</th>
                    <th>Description</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td><a class="xref" href="https://msdn.microsoft.com/en-us/library/system.string(v=vs.110).aspx">String</a></td>
                    <td></td>
                  </tr>
                </tbody>
              </table>
              <h5 class="implements">Implements</h5>
                  <div><a class="xref" href="FubarDev.WebDavServer.Locking.ILock.html#FubarDev_WebDavServer_Locking_ILock_ShareMode">ILock.ShareMode</a></div>
              <h5 id="FubarDev_WebDavServer_Locking_Lock_ShareMode_seealso">See Also</h5>
              <div class="seealso">
                  <div><a class="xref" href="FubarDev.WebDavServer.Locking.LockShareMode.html">LockShareMode</a></div>
              </div>
              <span class="small pull-right mobile-hide">
                <span class="divider">|</span>
                <a href="https://github.com/FubarDevelopment/WebDavServer/new/master/apiSpec/new?filename=FubarDev_WebDavServer_Locking_Lock_Timeout.md&amp;value=---%0Auid%3A%20FubarDev.WebDavServer.Locking.Lock.Timeout%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
              </span>
              <span class="small pull-right mobile-hide">
                <a href="https://github.com/FubarDevelopment/WebDavServer/blob/master/src/FubarDev.WebDavServer/Locking/Lock.cs/#L124">View Source</a>
              </span>
              <a id="FubarDev_WebDavServer_Locking_Lock_Timeout_" data-uid="FubarDev.WebDavServer.Locking.Lock.Timeout*"></a>
              <h4 id="FubarDev_WebDavServer_Locking_Lock_Timeout" data-uid="FubarDev.WebDavServer.Locking.Lock.Timeout">Timeout</h4>
              <div class="markdown level1 summary"><p>Gets the timeout of the lock</p>
</div>
              <div class="markdown level1 conceptual"></div>
              <h5 class="decalaration">Declaration</h5>
              <div class="codewrapper">
                <pre><code class="lang-csharp hljs">public TimeSpan Timeout { get; }</code></pre>
              </div>
              <h5 class="propertyValue">Property Value</h5>
              <table class="table table-bordered table-striped table-condensed">
                <thead>
                  <tr>
                    <th>Type</th>
                    <th>Description</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td><a class="xref" href="https://msdn.microsoft.com/en-us/library/system.timespan(v=vs.110).aspx">TimeSpan</a></td>
                    <td></td>
                  </tr>
                </tbody>
              </table>
              <h5 class="implements">Implements</h5>
                  <div><a class="xref" href="FubarDev.WebDavServer.Locking.ILock.html#FubarDev_WebDavServer_Locking_ILock_Timeout">ILock.Timeout</a></div>
              <h5 id="FubarDev_WebDavServer_Locking_Lock_Timeout_remarks">Remarks</h5>
              <div class="markdown level1 remarks"><p>The lock is automatically released after the expiration of the timeout.</p>
</div>
              <h3 id="methods">Methods
              </h3>
              <span class="small pull-right mobile-hide">
                <span class="divider">|</span>
                <a href="https://github.com/FubarDevelopment/WebDavServer/new/master/apiSpec/new?filename=FubarDev_WebDavServer_Locking_Lock_GetOwner.md&amp;value=---%0Auid%3A%20FubarDev.WebDavServer.Locking.Lock.GetOwner%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
              </span>
              <span class="small pull-right mobile-hide">
                <a href="https://github.com/FubarDevelopment/WebDavServer/blob/master/src/FubarDev.WebDavServer/Locking/Lock.cs/#L127">View Source</a>
              </span>
              <a id="FubarDev_WebDavServer_Locking_Lock_GetOwner_" data-uid="FubarDev.WebDavServer.Locking.Lock.GetOwner*"></a>
              <h4 id="FubarDev_WebDavServer_Locking_Lock_GetOwner" data-uid="FubarDev.WebDavServer.Locking.Lock.GetOwner">GetOwner()</h4>
              <div class="markdown level1 summary"><p>Gets the XML identifying the owner of the lock</p>
</div>
              <div class="markdown level1 conceptual"></div>
              <h5 class="decalaration">Declaration</h5>
              <div class="codewrapper">
                <pre><code class="lang-csharp hljs">public XElement GetOwner()</code></pre>
              </div>
              <h5 class="returns">Returns</h5>
              <table class="table table-bordered table-striped table-condensed">
                <thead>
                  <tr>
                    <th>Type</th>
                    <th>Description</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td><a class="xref" href="https://msdn.microsoft.com/en-us/library/system.xml.linq.xelement(v=vs.110).aspx">XElement</a></td>
                    <td><p>The XML identifying the owner of the lock</p>
</td>
                  </tr>
                </tbody>
              </table>
              <h5 class="implements">Implements</h5>
                  <div><a class="xref" href="FubarDev.WebDavServer.Locking.ILock.html#FubarDev_WebDavServer_Locking_ILock_GetOwner">ILock.GetOwner()</a></div>
              <span class="small pull-right mobile-hide">
                <span class="divider">|</span>
                <a href="https://github.com/FubarDevelopment/WebDavServer/new/master/apiSpec/new?filename=FubarDev_WebDavServer_Locking_Lock_ToString.md&amp;value=---%0Auid%3A%20FubarDev.WebDavServer.Locking.Lock.ToString%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
              </span>
              <span class="small pull-right mobile-hide">
                <a href="https://github.com/FubarDevelopment/WebDavServer/blob/master/src/FubarDev.WebDavServer/Locking/Lock.cs/#L131">View Source</a>
              </span>
              <a id="FubarDev_WebDavServer_Locking_Lock_ToString_" data-uid="FubarDev.WebDavServer.Locking.Lock.ToString*"></a>
              <h4 id="FubarDev_WebDavServer_Locking_Lock_ToString" data-uid="FubarDev.WebDavServer.Locking.Lock.ToString">ToString()</h4>
              <div class="markdown level1 summary"></div>
              <div class="markdown level1 conceptual"></div>
              <h5 class="decalaration">Declaration</h5>
              <div class="codewrapper">
                <pre><code class="lang-csharp hljs">public override string ToString()</code></pre>
              </div>
              <h5 class="returns">Returns</h5>
              <table class="table table-bordered table-striped table-condensed">
                <thead>
                  <tr>
                    <th>Type</th>
                    <th>Description</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td><a class="xref" href="https://msdn.microsoft.com/en-us/library/system.string(v=vs.110).aspx">String</a></td>
                    <td></td>
                  </tr>
                </tbody>
              </table>
              <h5 class="overrides">Overrides</h5>
              <div><a class="xref" href="https://msdn.microsoft.com/en-us/library/7bxwbwt2(v=vs.110).aspx">Object.ToString()</a></div>
                        </article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                  <li>
                    <a href="https://github.com/FubarDevelopment/WebDavServer/new/master/apiSpec/new?filename=FubarDev_WebDavServer_Locking_Lock.md&amp;value=---%0Auid%3A%20FubarDev.WebDavServer.Locking.Lock%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
                  </li>
                  <li>
                    <a href="https://github.com/FubarDevelopment/WebDavServer/blob/master/src/FubarDev.WebDavServer/Locking/Lock.cs/#L15" class="contribution-link">View Source</a>
                  </li>
                </ul>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
              <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
            <span>Copyright © 2016-2017 Fubar Development Junker<br>Generated by <strong>DocFX</strong></span>
            
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../styles/docfx.js"></script>
    <script type="text/javascript" src="../styles/jquery.min.js"></script>
    <script type="text/javascript" src="../styles/main.js"></script>
  </body>
</html>
